from ninja import NinjaAPI
from apps.home.views import index as index_views
from apps.home.views import home as home_views

home_api = NinjaAPI(urls_namespace="控制台管理")

home_api.add_router("/index", index_views.index_router, tags=["index相关"])
home_api.add_router("/home", home_views.home_router, tags=["home相关"])
